package com.hclc.util.excption;

import lombok.Data;

/**
 * @Author: hef
 * 支付金额不足异常
 * @Date: Create in 2:48 下午 2020/8/11
 */
@Data
public class OrderPayInsufficientAmountException extends ValidateException {
    private static final long serialVersionUID = 1L;

    /**
     * 失败返回的数据
     */
    private Object data;

    public OrderPayInsufficientAmountException() {
    }

    public OrderPayInsufficientAmountException(String message, Object data) {
        super(message);
        this.data = data;
    }

    public OrderPayInsufficientAmountException(Throwable ex) {
        super(ex);
    }

    public OrderPayInsufficientAmountException(String message) {
        super(message);
    }

    public OrderPayInsufficientAmountException(String message, Throwable ex) {
        super(message, ex);
    }
}
